package com.tiancheng.trade.order.vo.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author: likailun
 * @Description: 基础分页信息
 * @Date: create in 2021/9/16 5:46 下午
 */
@Getter
@Setter
public class BasePage {
    private Integer currentPage;
    private Integer pageSize;

    public Integer getCurrentPage() {
        if(null==currentPage){
            this.currentPage=1;
        }
        return currentPage;
    }

    public Integer getPageSize() {
        if(null==pageSize){
            this.pageSize=10;
        }
        return pageSize;
    }
}
